import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
    {
    title: '标题',
    align: "center",
      resizable: true,
    dataIndex: 'title'
  },
 /* {
    title: '项目',
    align: "center", resizable: true,
    dataIndex: 'projectId_dictText'
  },*/
   {
    title: '子项目',
    align: "center", resizable: true,
    dataIndex: 'subProjectId_dictText'
  },
  {
    title: '报价',
    align: "center", resizable: true,
    dataIndex: 'quote'
  },
  {
    title: '报价文件',
    align: "center", resizable: true,
    dataIndex: 'quoteFile',
  },
  {
    title: '报价时间',
    align: "center", resizable: true,
    dataIndex: 'quotesTime'
  },
  {
    title: '状态',
    align: "center", resizable: true,
    dataIndex: 'status_dictText'
  },
  {
    title: '描述',
    align: "center", resizable: true,
    dataIndex: 'depict'
  },
];

// 高级查询数据
export const superQuerySchema = {
  projectId: {title: '项目',order: 0,view: 'list', type: 'string',dictTable: "c_project_application", dictCode: 'id', dictText: 'project_name',},
  quote: {title: '报价',order: 1,view: 'number', type: 'number',},
  quoteFile: {title: '报价文件',order: 2,view: 'file', type: 'string',},
  status: {title: '状态',order: 3,view: 'list', type: 'string',dictCode: 'quotes_status',},
  depict: {title: '描述',order: 4,view: 'textarea', type: 'string',},
};
